getPossibleTypes() 공개 정적인 메소드

public static getPossibleTypes ( ) : array
리턴 array
예제 #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())));
 }