Пример #1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testGetNotExists()
 {
     Container::get('no');
 }
Пример #2
0
 public function mandangoTypeToPHP($type, $from, $to)
 {
     return strtr(TypeContainer::get($type)->toPHPInString(), array('%from%' => $from, '%to%' => $to));
 }