private function applyScopes($parent, $method = 'set')
	{
		// Inherit scopes from parent
		foreach ($this->scopes as $scope)
		{
			$this->$method($scope, $parent->$scope);
		}

		return $this;
	}
private function applyScopes($parent, $method = 'set')
	{
		// Inherit scopes from parent
		foreach ($this->scopes as $scope)
		{
			$this->$method($scope, $parent->$scope);
		}

		return $this;
	}
private function applyScopes ( $ parent , $ method = 'set' ) { // Inherit scopes from parent foreach ( $ this -> scopes as $ scope ) { $ this -> $ method ( $ scope , $ parent -> $ scope ) ; } return $ this ; }
Applies the scopes of the given model to the current

@param   object|int  $parent  The parent from which to inherit
@param   string      $method  The way in which scopes are applied
@return  $this
@since   2.1.0
Applies the scopes of the given model to the current