fetchMock() public méthode

Return a specific remembered mock according to the array index it was stored to in this container instance
public fetchMock ( $reference ) : Mock
Résultat Mock
Exemple #1
0
 /**
  * Static fetching of a mock associated with a name or explicit class poser
  */
 public static function fetchMock($name)
 {
     return self::$_container->fetchMock($name);
 }