close() public method

In case of a subchain returns its parent, the chain itself otherwise.
public close ( ) : self
return self
Exemplo n.º 1
0
Arquivo: Fluent.php Projeto: jyxo/php
 /**
  * Closes a chain.
  *
  * @return \Jyxo\Input\Fluent
  */
 public function close() : self
 {
     $this->chain = $this->chain->close();
     return $this;
 }