for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Model;
/**
* Class Data
*/
final class Data
{
* Get property
*
* @param string $property
* @return mixed
public function __get($property)
if (property_exists($this, $property)) {
return $this->$property;
} else {
return null;
}
* Set property
* @param mixed $value
* @return object
public function __set($property, $value)
$this->$property = $value;
return $this;