public function hasWritableProperty( string $name, &$setterName ) : bool
   {

      if ( \in_array( $name, $this->ignoreSetProperties ) )
      {
         return false;
      }

      $setterName = 'set' . \ucfirst( $name );

      return \method_exists( $this, $setterName );

   }
public function hasWritableProperty( string $name, &$setterName ) : bool
   {

      if ( \in_array( $name, $this->ignoreSetProperties ) )
      {
         return false;
      }

      $setterName = 'set' . \ucfirst( $name );

      return \method_exists( $this, $setterName );

   }
public function hasWritableProperty ( string $ name , & $ setterName ) : bool { if ( \ in_array ( $ name , $ this -> ignoreSetProperties ) ) { return false ; } $ setterName = 'set' . \ ucfirst ( $ name ) ; return \ method_exists ( $ this , $ setterName ) ; }
Returns, if a property with the defined name exists for write access.

@param  string $name       The name of the property.
@param  string $setterName Returns the name of the associated set method, if method returns TRUE.
@return boolean
Returns if a property with the defined name exists for write access .