Newscoop\Service\ISyncResourceService::findByPathOrId PHP Method

findByPathOrId() public method

The synchronization of a resource means the association of that resource with the database.
public findByPathOrId ( $pathOrId ) : Resource
return Newscoop\Entity\Resource The synchronized Resource.
    function findByPathOrId($pathOrId);