src/Riak/Command/Builder/MapReduce/FetchObjects.php
public function addBucketInput(Riak\Bucket $bucket)
    {
        // default bucket type cannot be passed to the MR api due to a bug
        if ($bucket->getType() == 'default') {
            $input = $bucket->getName();
        } else {
            $input = [$bucket->getType(), $bucket->getName()];
        }

        $this->inputs[] = $input;

        return $this;
    }
public function addBucketInput(Riak\Bucket $bucket)
    {
        // default bucket type cannot be passed to the MR api due to a bug
        if ($bucket->getType() == 'default') {
            $input = $bucket->getName();
        } else {
            $input = [$bucket->getType(), $bucket->getName()];
        }

        $this->inputs[] = $input;

        return $this;
    }
public function addBucketInput ( Riak \ Bucket $ bucket ) { // default bucket type cannot be passed to the MR api due to a bug if ( $ bucket -> getType ( ) == 'default' ) { $ input = $ bucket -> getName ( ) ; } else { $ input = [ $ bucket -> getType ( ) , $ bucket -> getName ( ) ] ; } $ this -> inputs [ ] = $ input ; return $ this ; }
addBucketInput

@param Riak\Bucket $bucket

@return $this
addBucketInput