system/Router/RouteCollection.php
public function options(string $from, $to, array $options = null): RouteCollectionInterface
	{
		$this->create('options', $from, $to, $options);

		return $this;
	}
public function options(string $from, $to, array $options = null): RouteCollectionInterface
	{
		$this->create('options', $from, $to, $options);

		return $this;
	}
Specifies a route that is only available to OPTIONS requests.

@param string       $from
@param string|array $to
@param array        $options

@return \CodeIgniter\Router\RouteCollectionInterface