for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Phossa Project
*
* PHP version 5.4
* @category Library
* @package Phossa2\Query
* @copyright Copyright (c) 2016 phossa.com
* @license http://mit-license.org/ MIT License
* @link http://www.phossa.com/
*/
/*# declare(strict_types=1); */
namespace Phossa2\Query\Traits;
use Phossa2\Query\Misc\Parameter;
use Phossa2\Query\Interfaces\ParameterAwareInterface;
* ParameterAwareTrait
* @author Hong Zhang <[email protected]>
* @see ParameterAwareInterface
* @version 2.0.0
* @since 2.0.0 added
trait ParameterAwareTrait
{
* the Parameter object
* @var Parameter
* @access protected
protected $parameter;
* {@inheritDoc}
public function getParameter()/*# : Parameter */
return $this->parameter;
}
* Create Parameter object
* @return $this
protected function initParameter()
$this->parameter = new Parameter();
return $this;