public function offsetGet($name)
	{
		$name = $this->resolveAlias($name);

		if (!$this->offsetExists($name))
		{
			return null;
		}

		return parent::offsetGet($name);
	}
public function offsetGet($name)
	{
		$name = $this->resolveAlias($name);

		if (!$this->offsetExists($name))
		{
			return null;
		}

		return parent::offsetGet($name);
	}
public function offsetGet ( $ name ) { $ name = $ this -> resolveAlias ( $ name ) ; if ( ! $ this -> offsetExists ( $ name ) ) { return null ; } return parent :: offsetGet ( $ name ) ; }
Get an option by name.

@param   mixed   $name  Option name to get option.

@return  Option|null  Return option object if exists.

@since   1.0
Get an option by name .