# Class InterfaceContainer

Class InterfaceContainer

  ObjRuleContainer uses PathableName, XmlConvertible
  InterfaceContainer

Located at network-classes/InterfaceContainer.php

Methods summary
`public` | # `__construct( `VirtualSystem`|`DeviceCloud`|`Zone`|`VirtualRouter`|`PbfRule`|`DoSRule` $owner, `NetworkPropertiesContainer` $centralStore )` #### Parameters $owner ``VirtualSystem`|`DeviceCloud`|`Zone`|`VirtualRouter`|`PbfRule`|`DoSRule`` $owner $centralStore ``NetworkPropertiesContainer`` $centralStore
`public` | # `load_from_domxml( `DOMElement` $xml )`
`public` | # `rewriteXML( )`
`public `EthernetInterface[]`|`AggregateEthernetInterface[]`|`LoopbackInterface[]`||`IPsecTunnel[]`|`TunnelInterface[]`|`VlanInterface[]`` | # `interfaces( )` #### Returns ``EthernetInterface[]`|`AggregateEthernetInterface[]`|`LoopbackInterface[]`||`IPsecTunnel[]`|`TunnelInterface[]`|`VlanInterface[]``
`public boolean` | # `hasInterface( `EthernetInterface[]`|`AggregateEthernetInterface[]`|`LoopbackInterface[]`|`IPsecTunnel[]`|`TunnelInterface[]`|`VlanInterface[]` $if )` #### Parameters $if ``EthernetInterface[]`|`AggregateEthernetInterface[]`|`LoopbackInterface[]`|`IPsecTunnel[]`|`TunnelInterface[]`|`VlanInterface[]`` $if #### Returns `boolean`
`public boolean` | # `hasInterfaceNamed( string $ifName, boolean $caseSensitive = TRUE )` #### Parameters $ifName `string` $ifName $caseSensitive `boolean` $caseSensitive #### Returns `boolean`
`public boolean` | # `addInterface( `EthernetInterface`|`AggregateEthernetInterface`|`LoopbackInterface`|`IPsecTunnel`|`TunnelInterface`|`VlanInterface` $if )` #### Parameters $if ``EthernetInterface`|`AggregateEthernetInterface`|`LoopbackInterface`|`IPsecTunnel`|`TunnelInterface`|`VlanInterface`` $if #### Returns `boolean`
`public boolean` | # `API_addInterface( `EthernetInterface`|`AggregateEthernetInterface`|`LoopbackInterface`|`IPsecTunnel`|`TunnelInterface`|`VlanInterface` $if )` #### Parameters $if ``EthernetInterface`|`AggregateEthernetInterface`|`LoopbackInterface`|`IPsecTunnel`|`TunnelInterface`|`VlanInterface`` $if #### Returns `boolean`
`public` | # `removeInterface( mixed $if )`

Methods inherited from ObjRuleContainer
`API_replaceReferencedObject(), __destruct(), count(), display(), displayMembersDiff(), equals(), equals_fasterHash(), generateFastHashComp(), getAll(), getFastHashComp(), getItemAtPosition(), getMembersDiff(), has(), hasObjectRegex(), name(), referencedObjectRenamed(), remove(), removeAll(), replaceReferencedObject(), setName(), toString_inline()`

Methods used from PathableName
`(), (), ()`

Methods used from XmlConvertible
`(), (), (), (), ()`

Properties summary
`public `NetworkPropertiesContainer`` | $parentCentralStore | `` | #

Properties inherited from ObjRuleContainer
`$name, $o, $owner`

Properties used from XmlConvertible
`$xmlroot`

Magic properties summary
`public `VirtualSystem`|`Zone`|`VirtualRouter`|`PbfRule`|DosRule` | $owner | #

Magic properties inherited from ObjRuleContainer
`$fasthashcomp`

Magic properties used from PathableName
`$name`