getPossibleTypes() public static method

public static getPossibleTypes ( ) : array
return array
Esempio n. 1
0
 /**
  * @param string $type
  * @return self
  */
 public static function withType($type)
 {
     return new self(sprintf('%s is not a valid module extra type. Possible options are %s', $type, implode(', ', ModuleExtraType::getPossibleTypes())));
 }