PHP Class Puli\Repository\Resource\AbstractFilesystemResource

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: extends GenericResource, implements Puli\Repository\Api\Resource\FilesystemResource
Afficher le fichier Open project: puli/repository Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $filesystemPath, string | null $path = null ) Creates a new filesystem resource.
getFilesystemPath ( )
getMetadata ( )

Méthodes protégées

Méthode Description
postUnserialize ( array $data )
preSerialize ( array &$data )

Method Details

__construct() public méthode

Creates a new filesystem resource.
public __construct ( string $filesystemPath, string | null $path = null )
$filesystemPath string The path on the file system.
$path string | null The repository path of the resource.

getFilesystemPath() public méthode

public getFilesystemPath ( )

getMetadata() public méthode

public getMetadata ( )

postUnserialize() protected méthode

protected postUnserialize ( array $data )
$data array

preSerialize() protected méthode

protected preSerialize ( array &$data )
$data array