src/Client.php
public function setProjectToken($token)
    {
        if (!$token) {
            throw new InvalidArgumentException('Project token required');
        } elseif (strlen($token) !== 32) {
            throw new InvalidArgumentException('Project token must be 32 characters length');
        }

        $this->projectToken = $token;

        return $this;
    }
public function setProjectToken($token)
    {
        if (!$token) {
            throw new InvalidArgumentException('Project token required');
        } elseif (strlen($token) !== 32) {
            throw new InvalidArgumentException('Project token must be 32 characters length');
        }

        $this->projectToken = $token;

        return $this;
    }
public function setProjectToken ( $ token ) { if ( ! $ token ) { throw new InvalidArgumentException ( 'Project token required' ) ; } elseif ( strlen ( $ token ) !== 32 ) { throw new InvalidArgumentException ( 'Project token must be 32 characters length' ) ; } $ this -> projectToken = $ token ; return $ this ; }
Set project token

@param string $token

@return $this
Set project token