for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace hiqdev\thememanager;
use yii\helpers\ArrayHelper;
class DetailedTheme
{
protected $theme;
public $description = 'description.md';
public $license = 'license.md';
public $readme = 'readme.md';
public $author = 'author.md';
public $images = [
'1.jpg',
'2.jpg',
'3.jpg',
];
public function __construct(Theme $theme)
$this->theme = $theme;
}
public function getAttributes()
return array_merge(ArrayHelper::toArray($this->theme), ArrayHelper::toArray($this));