public function testParseImplementsInterfaceToString() { $collection = new InterfaceCollection(); $collection->add('\\Countable'); $expected = ' implements \\Countable'; $this->assertEquals($expected, $collection->toString()); }
/** * @inheritdoc */ public function addInterface($interfaceName) { $this->interfaces->add($interfaceName); $this->createMethodsFromInterface($interfaceName); return $this; }