Puli\Repository\Api\Resource\PuliResource::detach PHP Метод

detach() публичный Метод

After calling this method, {@link isAttached()} returns false. The method {@link getRepository()} should return null after detaching. Neither the path nor the repository path of the resource should be modified when detaching.
public detach ( )
    public function detach();