Puli\Manager\Repository\Mapping\PopulateRepository::createResource PHP Méthode

createResource() private méthode

private createResource ( $filesystemPath )
    private function createResource($filesystemPath)
    {
        return is_dir($filesystemPath) ? new DirectoryResource($filesystemPath) : new FileResource($filesystemPath);
    }