Dingo\Blueprint\Resource::getDefinition PHP Method

getDefinition() public method

Get the resource definition.
public getDefinition ( ) : string
return string
    public function getDefinition()
    {
        $definition = $this->getUri();
        if ($method = $this->getMethod()) {
            $definition = $method . ' ' . $definition;
        }
        return '# ' . $this->getIdentifier() . ($definition == '/' ? '' : ' [' . $definition . ']');
    }