src/package/Support/jasonlewis/resource-watcher/src/JasonLewis/ResourceWatcher/Listener.php
public function determineEventBinding(Event $event)
    {
        switch ($event->getCode()) {
            case Event::RESOURCE_DELETED:
                return 'delete';
                break;
            case Event::RESOURCE_CREATED:
                return 'create';
                break;
            case Event::RESOURCE_MODIFIED:
                return 'modify';
            break;
        }
    }
public function determineEventBinding(Event $event)
    {
        switch ($event->getCode()) {
            case Event::RESOURCE_DELETED:
                return 'delete';
                break;
            case Event::RESOURCE_CREATED:
                return 'create';
                break;
            case Event::RESOURCE_MODIFIED:
                return 'modify';
            break;
        }
    }
public function determineEventBinding ( Event $ event ) { switch ( $ event -> getCode ( ) ) { case Event :: RESOURCE_DELETED : return 'delete' ; break ; case Event :: RESOURCE_CREATED : return 'create' ; break ; case Event :: RESOURCE_MODIFIED : return 'modify' ; break ; } }
Determine the binding for a given event.

@param \JasonLewis\ResourceWatcher\Event $event

@return string
Determine the binding for a given event .