コード例 #1
0
 public function toString($object)
 {
     return $object instanceof ImagineBlock && $object->getLabel() ? $object->getLabel() : parent::toString($object);
 }
コード例 #2
0
 public function toString($object)
 {
     return $object instanceof SimpleBlock && $object->getTitle() ? $object->getTitle() : parent::toString($object);
 }