public function instanceWrite($property, $value)
    {
        // Ignore properties that should not be settable
        if ($property !== 'file_name' && ! $this->config->attributeProperty($property)) {
            return;
        }

        $this->instance->setAttribute("{$this->name}_{$property}", $value);
    }
public function instanceWrite($property, $value)
    {
        // Ignore properties that should not be settable
        if ($property !== 'file_name' && ! $this->config->attributeProperty($property)) {
            return;
        }

        $this->instance->setAttribute("{$this->name}_{$property}", $value);
    }
public function instanceWrite ( $ property , $ value ) { // Ignore properties that should not be settable if ( $ property !== 'file_name' && ! $ this -> config -> attributeProperty ( $ property ) ) { return ; } $ this -> instance -> setAttribute ( "{$this->name}_{$property}" , $ value ) ; }
Sets an attachment property on the model instance.

@param string $property
@param mixed  $value
Sets an attachment property on the model instance .