for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Rexlabs\Smokescreen\Includes;
use Rexlabs\Smokescreen\Definition\AbstractDefinition;
class IncludeDefinition extends AbstractDefinition
{
public function relation(): array
$relation = $this->get('relation', []);
return !\is_array($relation) ?
return ! is_array($relat... $relation) : $relation
false
array
preg_split('/\s*,\s*', $relation) :
$relation;
}
public function method()
return $this->get('method');
public function isDefault()
return $this->has('default');