PHP Class DataSift\Storyplayer\PlayerLib\Story_Loader

Mostra file Open project: datasift/storyplayer Class Usage Examples

Public Methods

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

Protected Methods

Method Description
__construct ( ) singleton - do not instantiate

Method Details

__construct() protected method

singleton - do not instantiate
protected __construct ( )

loadStory() public static method

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
return Story the story object