public function __construct($resource = null) { parent::__construct($resource); $this->yaml = Yaml::getInstance(); }