for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (c) Flipbox Digital Limited
* @license https://flipboxfactory.com/software/patron/license
* @link https://www.flipboxfactory.com/software/patron/
*/
namespace flipbox\patron\actions\provider;
use flipbox\craft\ember\actions\records\ViewRecord;
use flipbox\patron\records\Provider;
* @author Flipbox Factory <[email protected]>
* @since 1.0.0
class ViewProvider extends ViewRecord
{
* @inheritdoc
public function run($provider)
return parent::run($provider);
}
* @return Provider|null
protected function find($id)
return Provider::findOne([
'enabled' => null,
'id' => $id
]);