public function set($path, array $data)
    {
        $data += array('path' => $path);

        $bookmark = $this->get($data);
        return empty($bookmark) ? (bool) $this->add($data) : false;
    }
public function set($path, array $data)
    {
        $data += array('path' => $path);

        $bookmark = $this->get($data);
        return empty($bookmark) ? (bool) $this->add($data) : false;
    }
public function set ( $ path , array $ data ) { $ data += array ( 'path' => $ path ) ; $ bookmark = $ this -> get ( $ data ) ; return empty ( $ bookmark ) ? ( bool ) $ this -> add ( $ data ) : false ; }
Add a bookmark if it doesn't exists for the path
@param string $path
@param array $data
@return boolean
Add a bookmark if it doesn t exists for the path