<?php get_class(object $object = ?): string
<?php }); } }; $class = get_class($object); $firstResult = $class::getNumber();
<?php }); } }; $class = get_class($object); foreach (range('A', 'Z') as $letter) { $firstResult = $class::getNumberForLetter($letter);
<?php }); } }; $aClass = get_class($a); $bClass = get_class($b); $this->assertEquals('A', $aClass::getName());
<?php } }; $aClass = get_class($a); $bClass = get_class($b); $this->assertEquals('A', $aClass::getName()); $this->assertEquals('B', $bClass::getName());