for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Alert.php
* Definition of class Alert
*
* Created 29/08/14 00:08
* @author Rasanga Perera <[email protected]>
* Copyright (c) 2014, The MIT License (MIT)
*/
namespace Ras\Bundle\FlashAlertBundle\Model;
class Alert implements AlertInterface
{
* @var string
private $type;
private $message;
* @param string $type
* @param string $message
public function __construct($type, $message)
$this->type = $type;
$this->message = $message;
}
* @return string
public function getType()
return $this->type;
public function getMessage()
return $this->message;