コード例 #1
0
 /**
  * This method returns your type hinted array collection for a random Object
  * The return value will be an object of type \Ramsondon\TypedArray\Cache\<CLASSNAME>ArrayCollection
  *
  * @param string $classname
  * @return mixed
  */
 public function create($classname)
 {
     return parent::create($classname);
 }
コード例 #2
0
 public function testInputExceptionClassNotExists()
 {
     $this->setExpectedException('Ramsondon\\TypedArray\\Exceptions\\TypedArrayFactoryInputException');
     $this->factory->create('this_class_does_Not_exist');
 }