Make WordPress Core

Changeset 29146


Ignore:
Timestamp:
07/13/2014 11:45:11 PM (10 years ago)
Author:
DrewAPicture
Message:

Fill out inline documentation for magic methods added to the WP_Object_Cache class in [28502], [28521], [28524].

See #27881, #22234 and #28885.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/cache.php

    r28524 r29146  
    311311     *
    312312     * @since 4.0.0
    313      * @param string $name
    314      * @return mixed
     313     * @access public
     314     *
     315     * @param string $name Property to get.
     316     * @return mixed Property.
    315317     */
    316318    public function __get( $name ) {
     
    322324     *
    323325     * @since 4.0.0
    324      * @param string $name
    325      * @param string $value
    326      * @return mixed
     326     * @access public
     327     *
     328     * @param string $name  Property to set.
     329     * @param mixed  $value Property value.
     330     * @return mixed Newly-set property.
    327331     */
    328332    public function __set( $name, $value ) {
     
    334338     *
    335339     * @since 4.0.0
    336      * @param string $name
    337      * @return mixed
     340     * @access public
     341     *
     342     * @param string $name Property to check if set.
     343     * @return bool Whether the property is set.
    338344     */
    339345    public function __isset( $name ) {
     
    345351     *
    346352     * @since 4.0.0
    347      * @param string $name
    348      * @return mixed
     353     * @access public
     354     *
     355     * @param string $name Property to unset.
    349356     */
    350357    public function __unset( $name ) {
Note: See TracChangeset for help on using the changeset viewer.