eZ\Publish\Core\REST\Client\LocationService::newLocationCreateStruct PHP Метод

newLocationCreateStruct() публичный Метод

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
Результат eZ\Publish\API\Repository\Values\Content\LocationCreateStruct
    public function newLocationCreateStruct($parentLocationId)
    {
        return new LocationCreateStruct(array('parentLocationId' => $parentLocationId));
    }