PHP Class DataSift\Storyplayer\PlayerLib\Story_Loader

Afficher le fichier Open project: datasift/storyplayer Class Usage Examples

Méthodes publiques

Méthode Description
loadStory ( string $filename ) : Story load a story, throwing exceptions if problems are detected

Méthodes protégées

Méthode Description
__construct ( ) singleton - do not instantiate

Method Details

__construct() protected méthode

singleton - do not instantiate
protected __construct ( )

loadStory() public static méthode

load a story, throwing exceptions if problems are detected
public static loadStory ( string $filename ) : Story
$filename string path to the PHP file containing the story
Résultat Story the story object