[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/routing/Matcher/Dumper/ -> DumperCollection.php (summary)

(no description)

File Size: 159 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

DumperCollection:: (11 methods):
  all()
  add()
  setAll()
  getIterator()
  getRoot()
  getParent()
  setParent()
  hasAttribute()
  getAttribute()
  setAttribute()
  setAttributes()


Class: DumperCollection  - X-Ref

Collection of routes.

all()   X-Ref
Returns the children routes and collections.

return: self[]|DumperRoute[]

add($child)   X-Ref
Adds a route or collection.

param: DumperRoute|DumperCollection The route or collection

setAll(array $children)   X-Ref
Sets children.

param: array $children The children

getIterator()   X-Ref
Returns an iterator over the children.

return: \Iterator|DumperCollection[]|DumperRoute[] The iterator

getRoot()   X-Ref
Returns the root of the collection.

return: self The root collection

getParent()   X-Ref
Returns the parent collection.

return: self|null The parent collection or null if the collection has no parent

setParent(self $parent)   X-Ref
Sets the parent collection.


hasAttribute($name)   X-Ref
Returns true if the attribute is defined.

param: string $name The attribute name
return: bool true if the attribute is defined, false otherwise

getAttribute($name, $default = null)   X-Ref
Returns an attribute by name.

param: string $name    The attribute name
param: mixed  $default Default value is the attribute doesn't exist
return: mixed The attribute value

setAttribute($name, $value)   X-Ref
Sets an attribute by name.

param: string $name  The attribute name
param: mixed  $value The attribute value

setAttributes($attributes)   X-Ref
Sets multiple attributes.

param: array $attributes The attributes



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1