for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WebStream\Database;
/**
* EntityPropertyクラス
* @author Ryuichi Tanaka
* @since 2017/05/29
* @version 0.7
*/
trait EntityProperty
{
* overload setter
public function __set($name, $value)
if (property_exists($this, $name)) {
$this->{$name} = $value;
}
* overload getter
public function __get($name)
return $this->{$name};
return null;