示例#1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testGetNotExists()
 {
     Container::get('no');
 }
示例#2
0
文件: Mandango.php 项目: hybr/jpm
 public function mandangoTypeToPHP($type, $from, $to)
 {
     return strtr(TypeContainer::get($type)->toPHPInString(), array('%from%' => $from, '%to%' => $to));
 }