lib/DataSift/Pylon.php
public function start($hash = false, $name = false)
    {
        if ($hash) {
            $this->_hash = $hash;
        }

        if ($name) {
            $this->_name = $name;
        }

        if (! empty($this->_id)) {
            $this->restart();
        } else {
            $this->create();
        }
    }
public function start($hash = false, $name = false)
    {
        if ($hash) {
            $this->_hash = $hash;
        }

        if ($name) {
            $this->_name = $name;
        }

        if (! empty($this->_id)) {
            $this->restart();
        } else {
            $this->create();
        }
    }
public function start ( $ hash = false , $ name = false ) { if ( $ hash ) { $ this -> _hash = $ hash ; } if ( $ name ) { $ this -> _name = $ name ; } if ( ! empty ( $ this -> _id ) ) { $ this -> restart ( ) ; } else { $ this -> create ( ) ; } }
Creates a new recording or restarts an existing one if an ID is present

@param string $hash If hash is provided it will be set
@param string $name If name is provided it will be set
Creates a new recording or restarts an existing one if an ID is present