public undefineInterfaces ( array $interfaces = [] ) | ||
$interfaces | array | Array of interface names to undefine. Passing an empty array or no argument will result in undefining all interfaces |
public function undefineInterfaces(array $interfaces = [])
{
if (count($interfaces)) {
foreach ($interfaces as $interface) {
$this->undefineInterface($interface);
}
} else {
$this->definitions['interfaces'] = [];
}
return $this;
}