first commit
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Laravel\Roster;
|
||||
|
||||
use Laravel\Roster\Enums\Approaches;
|
||||
|
||||
class Approach
|
||||
{
|
||||
public function __construct(protected Approaches $approach) {}
|
||||
|
||||
public function name(): string
|
||||
{
|
||||
return $this->approach->name;
|
||||
}
|
||||
|
||||
public function approach(): Approaches
|
||||
{
|
||||
return $this->approach;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user