[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

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

(no description)

File Size: 161 lines (4 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: (DumperCollection|DumperRoute)[] Array of DumperCollection|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 The iterator

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

return: DumperCollection The root collection

getParent()   X-Ref
Returns the parent collection.

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

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

param: DumperCollection $parent 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: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1