Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
webapi_user.php File Reference

Go to the source code of this file.

Variables

 $model = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\User\Model\User::class)
 
 $connection
 
 $adapter = $connection->getConnection()
 
 $select
 
 $roleId = $adapter->fetchOne($select)
 

Variable Documentation

◆ $adapter

$adapter = $connection->getConnection()

Definition at line 16 of file webapi_user.php.

◆ $connection

$connection
Initial value:

Definition at line 14 of file webapi_user.php.

◆ $model

$model = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\User\Model\User::class)

Definition at line 12 of file webapi_user.php.

◆ $roleId

$roleId = $adapter->fetchOne($select)

Definition at line 22 of file webapi_user.php.

◆ $select

$select
Initial value:
= $adapter->select()
->from('authorization_role', ['role_id'])
->where('role_name = ?', 'Administrators')
->where('parent_id = ?', 0)
->limit(1)
$adapter
Definition: webapi_user.php:16

Definition at line 17 of file webapi_user.php.