Skip to content
Permalink
Browse files

Deprecate properties that will become attributes in the future.

  • Loading branch information...
markstory committed Sep 1, 2016
1 parent 4beec44 commit 1ffdf32314136ece09793075baf3c30ee6241e73
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/Network/Request.php
@@ -86,20 +86,23 @@ class Request implements ArrayAccess
* Base URL path.
*
* @var string
* @deprecated 3.4.0 This public property will be removed in 4.0.0. Use getAttribute('base') instead.
*/
public $base;
/**
* webroot path segment for the request.
*
* @var string
* @deprecated 3.4.0 This public property will be removed in 4.0.0. Use getAttribute('webroot') instead.
*/
public $webroot = '/';
/**
* The full address to the current request
*
* @var string
* @deprecated 3.4.0 This public property will be removed in 4.0.0. Use here() instead.
*/
public $here;
@@ -1478,7 +1481,7 @@ public function withoutAttribute($name)
* Read an attribute from the request, or get the default
*
* @param string $name The attribute name.
* @param mixed $default The default value if the attribute has not been set.
* @param mixed|null $default The default value if the attribute has not been set.
* @return static
*/
public function getAttribute($name, $default = null)

0 comments on commit 1ffdf32

Please sign in to comment.
You can’t perform that action at this time.