Swagger\Context::with PHP Method

with() public method

Return the context containing the specified property.
public with ( string $property ) : boolean | Context
$property string
return boolean | Context
    public function with($property)
    {
        if (property_exists($this, $property)) {
            return $this;
        }
        if ($this->_parent) {
            return $this->_parent->with($property);
        }
        return false;
    }