public static function factory($attributes) { $instance = new self(); $instance->_initialize($attributes); return $instance; }