1<?php 2 3/** 4 * This file is part of the Phalcon Framework. 5 * 6 * (c) Phalcon Team <team@phalcon.io> 7 * 8 * For the full copyright and license information, please view the LICENSE.txt 9 * file that was distributed with this source code. 10 */ 11 12namespace Phalcon\Test\Models\AlbumORama; 13 14use Phalcon\Mvc\Model; 15 16class Songs extends Model 17{ 18 public function initialize() 19 { 20 $this->hasMany( 21 'id', 22 Albums::class, 23 'albums_id', 24 [ 25 'alias' => 'album', 26 ] 27 ); 28 } 29} 30