public function getProject($apiToken)
    {
        $apiToken = $this->processApiTokenArgument($apiToken);
        
        $connection   = clone $this->connection;
        $errorHandler = clone $this->errorHandler;
        
        $projectConstructorCallback = $this->projectConstructorCallback;
        
        # By default, this creates a RedCapProject
        $project = call_user_func(
            $projectConstructorCallback,
            $apiUrl = null,
            $apiToken,
            $sslVerify = null,
            $caCertificateFile = null,
            $errorHandler,
            $connection
        );
        
        return $project;
    }
public function getProject($apiToken)
    {
        $apiToken = $this->processApiTokenArgument($apiToken);
        
        $connection   = clone $this->connection;
        $errorHandler = clone $this->errorHandler;
        
        $projectConstructorCallback = $this->projectConstructorCallback;
        
        # By default, this creates a RedCapProject
        $project = call_user_func(
            $projectConstructorCallback,
            $apiUrl = null,
            $apiToken,
            $sslVerify = null,
            $caCertificateFile = null,
            $errorHandler,
            $connection
        );
        
        return $project;
    }
public function getProject ( $ apiToken ) { $ apiToken = $ this -> processApiTokenArgument ( $ apiToken ) ; $ connection = clone $ this -> connection ; $ errorHandler = clone $ this -> errorHandler ; $ projectConstructorCallback = $ this -> projectConstructorCallback ; # By default, this creates a RedCapProject $ project = call_user_func ( $ projectConstructorCallback , $ apiUrl = null , $ apiToken , $ sslVerify = null , $ caCertificateFile = null , $ errorHandler , $ connection ) ; return $ project ; }
Gets the REDCap project for the specified API token.

@param string $apiToken the API token for the project to get.

@return \IU\PHPCap\RedCapProject the project for the specified API token.
Gets the REDCap project for the specified API token .