for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright 2018 Vladimir Jimenez
* @license https://github.com/stakx-io/stakx/blob/master/LICENSE.md MIT
*/
namespace allejo\stakx\Event;
use allejo\stakx\Filesystem\Folder;
use Symfony\Component\EventDispatcher\Event;
* A notification-only event that is triggered whenever a valid PageView folder is scanned.
*
* @since 0.2.0
class PageViewDefinitionAdded extends Event
{
const NAME = 'pageview.definition.added';
private $folder;
public function __construct(Folder $folder)
$this->folder = $folder;
}
* @return string
Folder
This check compares the return type specified in the @return annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.
@return
public function getFolder()
return $this->folder;
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.