PHPSpec2\Loader\Node\Example::getSpecification PHP Method

getSpecification() public method

public getSpecification ( )
    public function getSpecification()
    {
        if (null !== $this->getParent() && $this->getParent() instanceof Specification) {
            return $this->getParent();
        }
    }