private function parseAutomatics($scope = 'always')
	{
		$automatics = array_merge($this->$scope, $this->always);

		if (!empty($automatics))
		{
			foreach ($automatics as $field)
			{
				if (strpos($field, '_'))
				{
					$bits   = explode('_', $field);
					$bits   = array_map('ucfirst', $bits);
					$method = implode('', $bits);
				}
				else
				{
					$method = ucfirst($field);
				}

				$method = 'automatic' . $method;
				// Pass the data to the method in case it needs to make use of another field's value
				$this->set($field, $this->$method($this->attributes));
			}
		}

		return $this;
	}
private function parseAutomatics($scope = 'always')
	{
		$automatics = array_merge($this->$scope, $this->always);

		if (!empty($automatics))
		{
			foreach ($automatics as $field)
			{
				if (strpos($field, '_'))
				{
					$bits   = explode('_', $field);
					$bits   = array_map('ucfirst', $bits);
					$method = implode('', $bits);
				}
				else
				{
					$method = ucfirst($field);
				}

				$method = 'automatic' . $method;
				// Pass the data to the method in case it needs to make use of another field's value
				$this->set($field, $this->$method($this->attributes));
			}
		}

		return $this;
	}
private function parseAutomatics ( $ scope = 'always' ) { $ automatics = array_merge ( $ this -> $ scope , $ this -> always ) ; if ( ! empty ( $ automatics ) ) { foreach ( $ automatics as $ field ) { if ( strpos ( $ field , '_' ) ) { $ bits = explode ( '_' , $ field ) ; $ bits = array_map ( 'ucfirst' , $ bits ) ; $ method = implode ( '' , $ bits ) ; } else { $ method = ucfirst ( $ field ) ; } $ method = 'automatic' . $ method ; // Pass the data to the method in case it needs to make use of another field's value $ this -> set ( $ field , $ this -> $ method ( $ this -> attributes ) ) ; } } return $ this ; }
Parses for automatically fillable fields

@param   string  $scope  The scope of rules to parse and run
@return  $this
@since   2.0.0
Parses for automatically fillable fields