Dingo\Blueprint\Resource::getIdentifier PHP Method

getIdentifier() public method

Get the resource identifier.
public getIdentifier ( ) : string
return string
    public function getIdentifier()
    {
        if (($annotation = $this->getAnnotationByType('Resource')) && isset($annotation->identifier)) {
            return $annotation->identifier;
        }
        return $this->identifier;
    }