for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author stev leibelt <[email protected]>
* @since 2013-06-26
*/
namespace Example\Table\Items;
use Net\Bazzline\Component\Requirement\AbstractItem;
* Class Color
*
* @package Example\Table\Items
class Color extends AbstractItem
{
* @var string
protected $color;
protected $expectedColor;
* @param string $color - the color you want to met for
public function setColor($color)
$this->color = (string) $color;
}
* {$inheritdoc}
public function isMet()
return (strtolower($this->color) == $this->expectedColor);