1. Go to this page and download the library: Download digitalkaoz/issues-bundle library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
digitalkaoz / issues-bundle example snippets
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
//...
new Rs\IssuesBundle\RsIssuesBundle(),
//...
);
}
interface Storage
{
/**
* remove old issues and projects
*/
public function cleanup();
/**
* save a Project and all its Issues
*
* @param Project $project
*/
public function saveProject(Project $project);
/**
* get all imported Projects
*
* @return Project[]
*/
public function getProjects();
/**
* get all Issues for the provided Project-Id
*
* @param string $projectId
* @return Issue[]
*/
public function getIssues($projectId);
}
interface Synchronizer
{
/**
* synchronizes all Projects and Issues from the Tracker into the Storage
*
* @param \Closure $cb
*/
public function synchronize($cb = null);
/**
* set the repositories to synchronize
*
* @param array $repos
*/
public function setRepos(array $repos);
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.