private function readData()
    {
        switch ($this->fileType) {
            case self::TYPE_JSON :
                $data = json_decode(file_get_contents($this->readPath), true);
                break;
            default : $data = require $this->readPath;
        }
        return $data;
    }
private function readData()
    {
        switch ($this->fileType) {
            case self::TYPE_JSON :
                $data = json_decode(file_get_contents($this->readPath), true);
                break;
            default : $data = require $this->readPath;
        }
        return $data;
    }
private function readData ( ) { switch ( $ this -> fileType ) { case self :: TYPE_JSON : $ data = json_decode ( file_get_contents ( $ this -> readPath ) , true ) ; break ; default : $ data = require $ this -> readPath ; } return $ data ; }
Reading file data.
@return mixed
Reading file data .