for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Darryldecode\Cart;
/**
* Created by PhpStorm.
* User: darryl
* Date: 1/17/2015
* Time: 12:03 PM
*/
use Illuminate\Support\Collection;
class ItemAttributeCollection extends Collection {
public function __get($name)
{
if( $this->has($name) ) return $this->get($name);
return null;
}