/** * @expectedException \InvalidArgumentException */ public function testGetNotExists() { Container::get('no'); }
public function mandangoTypeToPHP($type, $from, $to) { return strtr(TypeContainer::get($type)->toPHPInString(), array('%from%' => $from, '%to%' => $to)); }