Swagger\Context::not PHP Method

not() public method

Check if a property is NOT set directly on this context and but its parent context.
public not ( string $type ) : boolean
$type string Example: $c->not('method') or $c->not('class')
return boolean
    public function not($type)
    {
        return property_exists($this, $type) === false;
    }