for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WebTheory\Saveyour\Concerns;
use WebTheory\Saveyour\Contracts\SelectionProviderInterface;
trait IsSelectionFieldTrait
{
/**
* @var SelectionProviderInterface
*/
protected $selectionProvider;
*
protected function getSelectionData()
return $this->selectionProvider->provideSelectionsData();
}
protected function defineSelectionValue($selection)
return $this->selectionProvider->defineSelectionValue($selection);