PHP code example of kalaxia / scrumban-bundle
1. Go to this page and download the library: Download kalaxia/scrumban-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/ */
kalaxia / scrumban-bundle example snippets
// src/Controller/DefaultController.php
// ...
use Scrumban\Manager\SprintManager;
class DefaultController extends Controller
{
public function createSprintAction(SprintManager $sprintManager, Request $request)
{
$beginDate = new \DateTime($request->request->get('begin_date'));
$endDate = new \DateTime($request->request->get('end_date'));
$sprint = $sprintManager->createSprint($beginDate, $endDate);
}
}