public function getChildren (ContextSpecificationInterface $filter = null)
	{
		if ($filter === null)
		{
			return $this->children;
		}
		else
		{
			return array_filter ($this->children, [$filter, 'isSatisfiedBy']);
		}
	}
public function getChildren (ContextSpecificationInterface $filter = null)
	{
		if ($filter === null)
		{
			return $this->children;
		}
		else
		{
			return array_filter ($this->children, [$filter, 'isSatisfiedBy']);
		}
	}
public function getChildren ( ContextSpecificationInterface $ filter = null ) { if ( $ filter === null ) { return $ this -> children ; } else { return array_filter ( $ this -> children , [ $ filter , 'isSatisfiedBy' ] ) ; } }
Filter and list children
@param  ContextSpecificationInterface $filter (optional)
@return array
Filter and list children