public function save(array $data)
    {
        return (bool) file_put_contents($this->file, $this->serializer->serialize($data));
    }
public function save(array $data)
    {
        return (bool) file_put_contents($this->file, $this->serializer->serialize($data));
    }
public function save ( array $ data ) { return ( bool ) file_put_contents ( $ this -> file , $ this -> serializer -> serialize ( $ data ) ) ; }
Writes data to the file

@param array $data
@return boolean
Writes data to the file