You've already forked pilot-sdk
21 lines
299 B
PHP
21 lines
299 B
PHP
<?php
|
|
|
|
namespace Bluesquare\Pilot\Entity;
|
|
|
|
abstract class Entity
|
|
{
|
|
protected $slug = null;
|
|
|
|
public function __construct($slug = null)
|
|
{
|
|
if (! is_null($slug)) {
|
|
$this->slug = $slug;
|
|
}
|
|
}
|
|
|
|
public function slug()
|
|
{
|
|
return $this->slug;
|
|
}
|
|
}
|