public function afterSave(Event $event, FieldInstance $instance, ArrayObject $options = null)
    {
        if ($instance->isNew()) {
            $instance->afterAttach();
        }
    }
public function afterSave(Event $event, FieldInstance $instance, ArrayObject $options = null)
    {
        if ($instance->isNew()) {
            $instance->afterAttach();
        }
    }
public function afterSave ( Event $ event , FieldInstance $ instance , ArrayObject $ options = null ) { if ( $ instance -> isNew ( ) ) { $ instance -> afterAttach ( ) ; } }
Triggers the callback "afterAttach" if a new instance was created.

@param \Cake\Event\Event $event The event that was triggered
@param \Field\Model\Entity\FieldInstance $instance The Field Instance that was saved
@param \ArrayObject $options the options passed to the save method
@return void
Triggers the callback afterAttach if a new instance was created .