public function getData()
    {
        if (!$this->data && $this->getLocation()) {
            $this->data = file_get_contents($this->getLocation());
        }

        return $this->data;
    }
public function getData()
    {
        if (!$this->data && $this->getLocation()) {
            $this->data = file_get_contents($this->getLocation());
        }

        return $this->data;
    }
public function getData ( ) { if ( ! $ this -> data && $ this -> getLocation ( ) ) { $ this -> data = file_get_contents ( $ this -> getLocation ( ) ) ; } return $ this -> data ; }
Returns the image's data

@return string
Returns the image s data