PHP Class Puli\Repository\Resource\LinkResource

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

Méthodes publiques

Méthode Description
__construct ( string $targetPath, string | null $path = null )
getChild ( $relPath )
getTarget ( )
getTargetPath ( ) : string
hasChild ( $relPath )
hasChildren ( )
listChildren ( )

Méthodes protégées

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

Method Details

__construct() public méthode

public __construct ( string $targetPath, string | null $path = null )
$targetPath string
$path string | null

getChild() public méthode

public getChild ( $relPath )

getTarget() public méthode

public getTarget ( )

getTargetPath() public méthode

public getTargetPath ( ) : string
Résultat string

hasChild() public méthode

public hasChild ( $relPath )

hasChildren() public méthode

public hasChildren ( )

listChildren() public méthode

public listChildren ( )

postUnserialize() protected méthode

protected postUnserialize ( array $data )
$data array

preSerialize() protected méthode

protected preSerialize ( array &$data )
$data array