| Total Complexity | 11 |
| Total Lines | 74 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Gender extends Model |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Gender constructor. |
||
| 14 | */ |
||
| 15 | public function __construct() |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $name |
||
| 22 | * @return Gender |
||
| 23 | */ |
||
| 24 | public function bootstrap(string $name): Gender |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $name |
||
| 32 | * @param string $columns |
||
| 33 | * @return null|Gender |
||
| 34 | */ |
||
| 35 | public function findByName(string $name, string $columns = "*"): ?Gender |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return bool |
||
| 44 | */ |
||
| 45 | public function save(): bool |
||
| 86 |