public function __construct(array $attributes = []) { $this->fillable = array_merge($this->fillable, ['parent_id']); $this->aliases = array_merge($this->aliases, ['parent_id' => 'Parent']); $this->prefixSlug = getSlug('staticpage'); parent::__construct($attributes); }
public function __construct(array $attributes = []) { parent::__construct($attributes); $this->prefixSlug = getSlug('team'); }