Doctrine\OrientDB\Query\Command\Credential::on PHP 메소드

on() 공개 메소드

Sets the $resource on which the credential is given.
public on ( string $resource ) : Credential
$resource string
리턴 Credential
    public function on($resource)
    {
        $this->setToken('Resource', $resource);
        return $this;
    }