eZ\Publish\Core\REST\Client\LocationService::newLocationCreateStruct PHP Méthode

newLocationCreateStruct() public méthode

Instantiates a new location create class.
public newLocationCreateStruct ( mixed $parentLocationId ) : eZ\Publish\API\Repository\Values\Content\LocationCreateStruct
$parentLocationId mixed the parent under which the new location should be created
Résultat eZ\Publish\API\Repository\Values\Content\LocationCreateStruct
    public function newLocationCreateStruct($parentLocationId)
    {
        return new LocationCreateStruct(array('parentLocationId' => $parentLocationId));
    }