PHP Class Puli\Repository\Resource\AbstractFilesystemResource

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

Public Methods

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

Protected Methods

Method Description
postUnserialize ( array $data )
preSerialize ( array &$data )

Method Details

__construct() public method

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 method

public getFilesystemPath ( )

getMetadata() public method

public getMetadata ( )

postUnserialize() protected method

protected postUnserialize ( array $data )
$data array

preSerialize() protected method

protected preSerialize ( array &$data )
$data array