trait PageNameTrait

Trait PageNameTrait

Methods

byName(string $name, int $index = null)

Creates an instance using the name.

Details

PageNameTrait byName(string $name, int $index = null)

Creates an instance using the name.

Parameters

Name Type Description
$name string The name
$index int The optional index.

Return Value

PageNameTrait