SchemaCollection implements ArrayAccess, IteratorAggregate, Countable
Read onlyYes
FinalYes
Table of Contents
Interfaces
- ArrayAccess
- IteratorAggregate
- Countable
Methods
- __construct() : mixed
- __set_state() : self
- count() : int
- get() : TcaSchema
- Get a schema from the loaded TCA. Ensure to check for a schema with ->has() before calling ->get().
- getIterator() : Traversable
- getNames() : array<string|int, string>
- has() : bool
- Checks if a schema exists, does not build the schema if not needed, thus it's very slim and only creates a schema if a sub-schema is requested.
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
Methods
__construct()
public
__construct(array<string|int, mixed> $items) : mixed
Parameters
- $items : array<string|int, mixed>
__set_state()
public
static __set_state(array<string|int, mixed> $state) : self
Parameters
- $state : array<string|int, mixed>
Return values
selfcount()
public
count() : int
Return values
intget()
Get a schema from the loaded TCA. Ensure to check for a schema with ->has() before calling ->get().
public
get(string $schemaName) : TcaSchema
Parameters
- $schemaName : string
Return values
TcaSchemagetIterator()
public
getIterator() : Traversable
Return values
TraversablegetNames()
public
getNames() : array<string|int, string>
Return values
array<string|int, string>has()
Checks if a schema exists, does not build the schema if not needed, thus it's very slim and only creates a schema if a sub-schema is requested.
public
has(string $schemaName) : bool
Parameters
- $schemaName : string
Return values
booloffsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed