删除 周期计费视图组件
This commit is contained in:
parent
21bd8ec1f2
commit
4d561310ab
@ -1,28 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components;
|
||||
|
||||
use Illuminate\View\Component;
|
||||
|
||||
class BillingCycle extends Component
|
||||
{
|
||||
public string $cycle = 'dynamic';
|
||||
|
||||
/**
|
||||
* Create a new component instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(null|string $cycle = 'dynamic')
|
||||
{
|
||||
$this->cycle = $cycle ?? 'dynamic';
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*/
|
||||
public function render(): string
|
||||
{
|
||||
return trans('hosts.'.$this->cycle);
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
<div>
|
||||
<!-- Simplicity is the consequence of refined emotions. - Jean D'Alembert -->
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user