DataSift\Storyplayer\ConfigLib\E4xx_StoryplayerConfigMustBeAnObject::__construct PHP Method

__construct() public method

public __construct ( $pathToFile )
    public function __construct($pathToFile)
    {
        $msg = "Storyplayer config file '{$pathToFile}' must be a JSON object";
        parent::__construct(400, $msg, $msg);
    }
E4xx_StoryplayerConfigMustBeAnObject