insertUrl() abstract public method

Inserts a new $url and returns its id.
abstract public insertUrl ( string $url ) : integer | string
$url string The URL to insert in the database
return integer | string
Beispiel #1
0
 /**
  * Inserts a new $url and returns its id.
  *
  * @param string $url The URL to insert in the database
  *
  * @return int|string
  */
 public function insertUrl($url)
 {
     return $this->urlGateway->insertUrl($url);
 }