13 lines
No EOL
160 B
PHP
13 lines
No EOL
160 B
PHP
<?php
|
|
trait InDev {
|
|
protected $dev;
|
|
|
|
function inDev() {
|
|
return ($this->dev == 1);
|
|
}
|
|
|
|
function getDev() {
|
|
return $this->dev;
|
|
}
|
|
}
|
|
?>
|