addSource() публичный Метод

Add a source to our allow white-list
public addSource ( string $directive, string $path ) : self
$directive string
$path string
Результат self
Пример #1
0
 /**
  * Add a source to our allow whitelist.
  * 
  * @param string $directive
  * @param string $path
  * 
  * @return self
  */
 public function addSource($directive, $path)
 {
     $this->csp->addSource($directive, $path);
     return $this;
 }