protected function initializeAttributeOnData( $attribute )
	{
		$explicitPath = $this->getLeadingExplicitAttributePath( $attribute );

		$data = $this->extractDataFromPath( $explicitPath );

		if ( !Str::contains( $attribute, '*' ) || Str::endsWith( $attribute, '*' ) )
		{
			return $data;
		}

		return data_set( $data, $attribute, null, true );
	}
protected function initializeAttributeOnData( $attribute )
	{
		$explicitPath = $this->getLeadingExplicitAttributePath( $attribute );

		$data = $this->extractDataFromPath( $explicitPath );

		if ( !Str::contains( $attribute, '*' ) || Str::endsWith( $attribute, '*' ) )
		{
			return $data;
		}

		return data_set( $data, $attribute, null, true );
	}
protected function initializeAttributeOnData ( $ attribute ) { $ explicitPath = $ this -> getLeadingExplicitAttributePath ( $ attribute ) ; $ data = $ this -> extractDataFromPath ( $ explicitPath ) ; if ( ! Str :: contains ( $ attribute , '*' ) || Str :: endsWith ( $ attribute , '*' ) ) { return $ data ; } return data_set ( $ data , $ attribute , null , true ) ; }
Gather a copy of the attribute data filled with any missing attributes.

@param  string $attribute
@return array
Gather a copy of the attribute data filled with any missing attributes .