Newscoop\Service\ISyncResourceService::getResource PHP Method

getResource() public method

The synchronization of a resource means the association of that resource with the database.
public getResource ( string $name, string $path ) : Resource
$name string The name of the Resource to be synchronized, not null, not empty.
$path string The path of the Resource to be synchronized, not null, not empty.
return Newscoop\Entity\Resource The synchronized Resource.
    function getResource($name, $path);