11 lines
164 B
PHP
Executable File
11 lines
164 B
PHP
Executable File
<?php
|
|
namespace Rails\ServiceManager;
|
|
|
|
trait ServiceAwareTrait
|
|
{
|
|
public function getService($name)
|
|
{
|
|
return \Rails::services()->get($name);
|
|
}
|
|
}
|