Esempio n. 1
0
 /**
  * @return string
  */
 protected function getClassName()
 {
     return ClassNameConverter::stripNameSpace(get_called_class());
 }
Esempio n. 2
0
 /** @dataProvider getNamespaceData */
 public function testStripNamespace($class, $fullClass)
 {
     $this->assertSame($class, ClassNameConverter::stripNameSpace($fullClass));
 }