public function findContextOfType (ContextSpecificationInterface $filter)
	{
		foreach ($this->stack as $context)
		{
			if ($filter->isSatisfiedBy($context))
			{
				return $context;
			}
		}

		return false;
	}
public function findContextOfType (ContextSpecificationInterface $filter)
	{
		foreach ($this->stack as $context)
		{
			if ($filter->isSatisfiedBy($context))
			{
				return $context;
			}
		}

		return false;
	}
public function findContextOfType ( ContextSpecificationInterface $ filter ) { foreach ( $ this -> stack as $ context ) { if ( $ filter -> isSatisfiedBy ( $ context ) ) { return $ context ; } } return false ; }
Find context in stack matching specification
@param ContextSpecificationInterface $filter
@return ContextInterface|bool $node
Find context in stack matching specification