PHP Класс Pantheon\Terminus\Collections\Domains

Наследование: extends EnvironmentOwnedCollection
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$collected_class string
$hydrate Use to hydrate the data with additional information
$url string

Открытые методы

Метод Описание
create ( string $domain ) : array Adds a domain to the environment
getUrl ( )
has ( $domain ) : boolean Does the Domains collection contain the given domain?
setHydration ( mixed $value ) : Domains Changes the value of the hydration property

Описание методов

create() публичный метод

Adds a domain to the environment
public create ( string $domain ) : array
$domain string Domain to add to environment
Результат array

getUrl() публичный метод

public getUrl ( )

has() публичный метод

Does the Domains collection contain the given domain?
public has ( $domain ) : boolean
$domain
Результат boolean True if the domain exists in the collection.

setHydration() публичный метод

Changes the value of the hydration property
public setHydration ( mixed $value ) : Domains
$value mixed Value to set the hydration property to
Результат Domains

Описание свойств

$collected_class защищенное свойство

protected string $collected_class
Результат string

$hydrate защищенное свойство

Use to hydrate the data with additional information
protected $hydrate

$url защищенное свойство

protected string $url
Результат string