Пример #1
0
 /**
  * CountFunctionNode constructor.
  *
  * @param array $arguments
  * @param bool  $distinct
  * @param null  $alias
  */
 public function __construct(array $arguments = [], bool $distinct = false, string $alias = null)
 {
     parent::__construct($arguments, $alias);
     $this->distinct = $distinct;
 }
	public function addOutput( Safe $outputType = null, $position = null ){
		if( count( $this->_outputArray ) > 0 ){
			throw new Exception( "In PHP you may only have one output" );
		}
		parent::addOutput( $outputType, $position );
	}
Пример #3
0
 public function __construct(string $name, array $arguments, string $alias = null)
 {
     parent::__construct($arguments, $alias);
     $this->name = $name;
 }